package com.unytech.project.entity.mail;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;

import org.hibernate.annotations.GenericGenerator;

import com.unytech.project.entity.BaseEntity;

/**
 * 附件类
 * @author DolphinBoy
 *
 */
@Entity 
@Table(name="T_ATTACHMENT")
@GenericGenerator(name="uuidpk",strategy="uuid")
public class Attachment extends BaseEntity {
	@Id @GeneratedValue(generator="uuidpk")
	@Column(length=32)
	private String attachid;
	
	/** 附件名称 */
	@Column(length=80)
	private String filename;
	
	/** 附件路径 */
	@Column(length=100)
	private String filepath;

	public String getAttachid() {
		return attachid;
	}

	public void setAttachid(String attachid) {
		this.attachid = attachid;
	}

	public String getFilename() {
		return filename;
	}

	public void setFilename(String filename) {
		this.filename = filename;
	}

	public String getFilepath() {
		return filepath;
	}

	public void setFilepath(String filepath) {
		this.filepath = filepath;
	}
	
}
